package com.koron.order.common.service;

import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.common.bean.vo.OrderExecuteVo;
import com.koron.order.defect.bean.vo.DefectExecuteVO;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

public interface OrderExecuteInfoService extends CommonService {

    OrderExecuteVo querySingleByExecuteId(SessionFactory factory, String executeId);

    List<OrderExecuteVo> queryListByOrderId(SessionFactory factory, String orderId);

    String insertOrUpdateExecuteInfo(SessionFactory factory, OrderExecuteVo orderExecuteVo);

    List<String> querySubmitUserListByOrderId(SessionFactory factory, String orderId, Boolean isLeader);

    boolean deleteExecuteInfo(SessionFactory factory, String orderId, String orderExecuteId);

    Boolean recodePart(SessionFactory factory, List<DefectExecuteVO> defectExecuteVOList);

}
